<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>后台管理系统模板</title>
    <link rel="icon" href="/static/admin/favicon.ico" type="image/ico">
    <link href="/static/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/admin/css/materialdesignicons.min.css" rel="stylesheet">
    <link href="/static/admin/css/style.min.css" rel="stylesheet">
    <script type="text/javascript" src="/static/admin/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/admin/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/static/admin/js/perfect-scrollbar.min.js"></script>
    <script type="text/javascript" src="/static/admin/js/main.min.js"></script>

</head>

<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!-- 左侧导航-->
        <#include "/includes/left.ftl">

        <!--End 左侧导航-->

        <!-- 头部信息-->
        <#include "/includes/head.ftl">

        <!--End 头部信息-->

        <!--页面主要内容-->
        <main class="lyear-layout-content">

            <iframe src="/sys/sysMenu/index" id="iframe"></iframe>
            <script type="text/javascript">
                setTimeout(function () {
                    $("#iframe").height($(document).height() - 64 - 15);
                    $("#iframe").width($(document).width() - 240);
                }, 500);
            </script>

        </main>
        <!--End 页面主要内容-->
    </div>
</div>

<script>
    $(function () {
       $(".navClass").click(function () {
            $("#iframe").attr("src",$(this).attr('url'));
            $("#contentTitle").html($(this).html().replace('<i class="mdi mdi-home"></i>',''));
       })
    });
</script>
</body>
</html>